package request

import (
	jwt "github.com/golang-jwt/jwt/v4"
)

// CustomClaims Custom claims structure
type CustomClaims struct {
	BaseClaims
	BufferTime           int64
	jwt.RegisteredClaims // 注意!这是jwt-go的v4版本新增的，原先是jwt.StandardClaims
}

type BaseClaims struct {
	ID       uint
	Username string
	NickName string
}
